home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000346_lars_news@larsshack.org_Sun Oct 26 16:03:27 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail
  2. From: Lars Kellogg-Stedman <lars_news@larsshack.org>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problems with get /recursive
  5. Date: 26 Oct 2003 14:31:24 GMT
  6. Lines: 47
  7. Message-ID: <slrnbpnmlo.b28.lars@news.oddbit.com>
  8. References: <57f2d810.0310251901.3deaebbd@posting.google.com> <Pine.HPX.4.44.0310252035270.3239-100000@fog.ccsf.cc.ca.us>
  9. Reply-To: lars_news@larsshack.org
  10. X-Trace: UmFuZG9tSVYZ/Z1K1qJiyEl8b3FFLpn1OZe6nrPihktmI9QIsyzqZI5neLSOOJgx
  11. X-Complaints-To: abuse@rcn.com
  12. NNTP-Posting-Date: 26 Oct 2003 14:31:24 GMT
  13. User-Agent:  slrn/0.9.7.4 (Linux)
  14. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14599
  15.  
  16. That's interesting, because the 'send' command behaves differently.  For
  17. example, if I connect via 'kermit -C "ssh remotehost"', and then on the
  18. remote system type:
  19.  
  20.   kermit -C 'send /recursive directory'
  21.  
  22. I get the whole thing.
  23.  
  24. On the other hand, neither:
  25.  
  26.   kermit -L -s directory
  27.  
  28. Nor:
  29.  
  30.   kermit -L -s directory/*
  31.  
  32. Actually work.  The second version (directory/*) will send the contents of
  33. directory, but without recursing into subdirectories.  Of course, 'kermit
  34. -h' says:
  35.  
  36.   -L  Recursive directory descent for files in -s option
  37.  
  38. I suspect I may just be misunderstanding what that means, since one can
  39. work around this by running:
  40.  
  41.   kermit -L -s `find directory`
  42.  
  43. But this seems like it could easily bog down for a large directory
  44. hierarchy.
  45.  
  46. -- Lars
  47.  
  48. > The get command requires a "filespec" which needs to specify a file
  49. > or files, not a directory.  What you want in this case is
  50. >   get /recursive directory/*
  51. > or perhaps just
  52. >   get directory/*
  53. > which does the same thing if directory contains only files and no
  54. > sub directories.
  55.  
  56. -- 
  57. Lars Kellogg-Stedman <lars_news@larsshack.org>
  58.  
  59.